package com.tiancheng.trade.merchant.feign;

import com.tiancheng.trade.commom.core.data.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 对账中心服务
 *
 * @author wx
 * @date 2024/3/236 14:00
 */
@FeignClient(value = "trade-settlement/api")
public interface SettlementService {

    @PostMapping(value = "/payment/updateSubOrderProduct", consumes = MediaType.APPLICATION_JSON_VALUE)
    Result<?> updateSubOrderProduct(@RequestBody String recordResult);

}
